﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Data;
using System.Data.SqlClient;
using System.Configuration;

/// <summary>
/// Summary description for DataAccess
/// </summary>
public class DataAccess
{

    private string strConn = System.Configuration.ConfigurationManager.ConnectionStrings["strConnection"].ConnectionString.ToString();
        public SqlConnection SqlConn()
        {
            SqlConnection SqlConn = new SqlConnection(this.strConn);
            return SqlConn;
        }
        public string strConn_
        {
            get
            {
                return strConn;
            }
            set
            {
                strConn = value;
            }
        }
	
}
